import request from '@/utils/request'


export default {
		
	my:{
		footList(data){
			return request.get('foot/getList',data)
		},
		delFoot(data){
			return request.post('foot/delFoot',data)
		},
		collect(data){
			return request.post('collect/collect',data)
		},
		collectList(){
			return request.get('collect/getList')
		},
		rewardList(data){
			return request.get('reward/getGoods',data)
		},
		rewardCart(){
			return request.get('reward/getCategory')
		},
		myRewardList(data){
			return request.get('third_order/getList',data)
		}
	},
	
	jdApi:{
		list(){
			return request.get('jd/getList')
		},
		detail(data){
			return request.get('jd/getDetail',data)
		},
		link(){
			return request.get('jd/getLink')
		}
	},
	pddApi:{
		list(){
			return request.get('pdd/getList')
		},
		detail(data){
			return request.get('pdd/getDetail',data)
		},
		getSortLink(data){
			return request.post('pdd/getSortLink',data)
		},
		search(data){
			return request.post('pdd/goodsSearch',data)
		},
		toPdd(){
			return request.post('pdd/createCmsLink')
		}
	},
	mtwmApi:{
		getSortLink(){
			return request.post('meituan/getLink')
		},
		
		getTuangou(){
			return request.post('meituan/getTuangou')
		},
		getMingSu(){
			return request.post('meituan/getMingSu')
		}
	},
	youApi:{
		list(data){
			return request.get('third_goods/goodsList',data)
		}
	},
	tmApi:{
		getSortLink(){
			return request.get('/tmall/getActivityLink')
		},
		publisher(data){
			return request.post('tmall/publisher',data)
		},
		getTBLink(){
			return request.get('tmall/getActivityLinkTaobao')
		}
		
		
	}, 
	elmApi:{
		getSortLink(){
			return request.get('tmall/eleme')
		}
	},
	wphApi:{
		getSortLink(){
			return request.get('vip/getLink')
		}
	}
}